<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link href="/css/layui.css" rel="stylesheet">
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<div class="form-group">	
								<label class="col-sm-3 control-label">图片标题：</label>
								<div class="col-sm-8">
									<input id="title" name="title" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">有效期：</label>
								<div class="col-sm-8">
									<input id="activeDate" name="activeDate" class="form-control" type="date">
								</div>
							</div>


							<div class="form-group">
								<div class="col-sm-3 ">
									<label class="control-label" style="float:right">上传图片：</label>
								</div>
								<input id="url" name="url" class="form-control" type="hidden">
								<div class="col-sm-8">
									<button type="button" class="layui-btn" id="uploadBtn">
										<i class="fa fa-cloud"></i>上传文件
									</button>
									<div  id="pictureShow"></div>
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">图片类型：</label>
								<div class="col-sm-8">
<!--									<input id="category" name="category" class="form-control" type="text">-->

									<select data-placeholder="--选择类别--" name="category" id="category"
											class="form-control chosen-select" tabindex="2" required>
										<option value="">--选择类别--</option>
									</select>
								</div>
							</div>
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script src="/js/layui.js"></script>
	<script type="text/javascript" src="/js/appjs/adminv1/image/add.js">
	</script>
</body>
</html>
